import React, { FC, useEffect } from 'react'
import { Card, Result } from 'antd'
import { changeSize } from '@utils/electron'


const RestartApp: FC<any> = (props) => {

  useEffect(() => {
    changeSize(800, 705, '配置成功')
  }, [])

  return (
    <Card>
      <div style={{paddingTop:170,paddingBottom:175}}>
      <Result
        status="success"
        title="数据库配置成功!"
        subTitle="请手动重启此应用，以完成最后配置！"
        extra={[]}
      />
      </div>
    </Card>
  )

}

export default RestartApp
